package com.zhengshang.api.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zhengshang.common.annotation.Excel;
import com.zhengshang.common.core.domain.BaseEntity;

/**
 * 话费退款记录对象 app_bill_refund_record
 * 
 * @author zhengshang
 * @date 2021-06-09
 */
public class AppBillRefundRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 退款记录ID */
    private Long recordId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 话费记录ID */
    @Excel(name = "话费记录ID")
    private Long billId;

    /** 退款金额 */
    @Excel(name = "退款金额")
    private BigDecimal refundFee;

    /** 退款订单总金额 */
    @Excel(name = "退款订单总金额")
    private BigDecimal totalFee;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderNum;

    /** 退款单号 */
    @Excel(name = "退款单号")
    private String refundOrderNum;

    /** 退款类型(1支付宝,2微信) */
    @Excel(name = "退款类型(1支付宝,2微信)")
    private String refundType;

    /** 返回值 */
    @Excel(name = "返回值")
    private String result;

    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setBillId(Long billId) 
    {
        this.billId = billId;
    }

    public Long getBillId() 
    {
        return billId;
    }
    public void setRefundFee(BigDecimal refundFee)
    {
        this.refundFee = refundFee;
    }

    public BigDecimal getRefundFee()
    {
        return refundFee;
    }
    public void setTotalFee(BigDecimal totalFee)
    {
        this.totalFee = totalFee;
    }

    public BigDecimal getTotalFee()
    {
        return totalFee;
    }
    public void setOrderNum(String orderNum) 
    {
        this.orderNum = orderNum;
    }

    public String getOrderNum() 
    {
        return orderNum;
    }
    public void setRefundOrderNum(String refundOrderNum) 
    {
        this.refundOrderNum = refundOrderNum;
    }

    public String getRefundOrderNum() 
    {
        return refundOrderNum;
    }
    public void setRefundType(String refundType) 
    {
        this.refundType = refundType;
    }

    public String getRefundType() 
    {
        return refundType;
    }
    public void setResult(String result) 
    {
        this.result = result;
    }

    public String getResult() 
    {
        return result;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("userId", getUserId())
            .append("billId", getBillId())
            .append("refundFee", getRefundFee())
            .append("totalFee", getTotalFee())
            .append("orderNum", getOrderNum())
            .append("refundOrderNum", getRefundOrderNum())
            .append("refundType", getRefundType())
            .append("result", getResult())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
